package com.pengpeng.rabbitmq.type;

/**
 * @author 彭鹏
 * @date 2021/10/19.
 */
public enum HandleSignalEnum {
    /**
     * 回调
     */
    SINGAL_CALLBACK(0, "回调"),
    /**
     * 内容
     */
    SIGNAL_DATA(6, "内容");

    private Integer code;
    private String desc;

    private HandleSignalEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Integer getCode() {
        return this.code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
